home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmListReplaceItems.z / XmListReplaceItems
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss - A List function that replaces the
  10.           specified elements in the list
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/List.h>
  14.           vvvvooooiiiidddd XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           XXXXmmmmSSSSttttrrrriiiinnnngggg ****oooolllldddd____iiiitttteeeemmmmssss,
  17.           iiiinnnntttt iiiitttteeeemmmm____ccccoooouuuunnnntttt,
  18.           XXXXmmmmSSSSttttrrrriiiinnnngggg ****nnnneeeewwww____iiiitttteeeemmmmssss);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmLLLLiiiissssttttRRRReeeeppppllllaaaacccceeeeIIIItttteeeemmmmssss replaces each specified item of the list
  25.           with a corresponding new item.  When the items are inserted
  26.           into the list, they are compared with the current
  27.           XXXXmmmmNNNNsssseeeelllleeeecccctttteeeeddddIIIItttteeeemmmmssss list. If any of the new items matches an
  28.           item on the selected list, it appears selected.
  29.  
  30.           _w_i_d_g_e_t    Specifies the ID of the List widget.
  31.  
  32.           _o_l_d__i_t_e_m_s Specifies the items to be replaced.
  33.  
  34.           _i_t_e_m__c_o_u_n_t
  35.                     Specifies the number of items in _o_l_d__i_t_e_m_s and
  36.                     _n_e_w__i_t_e_m_s.  This number must be nonnegative.
  37.  
  38.           _n_e_w__i_t_e_m_s Specifies the replacement items.
  39.  
  40.           Every occurrence of each element of _o_l_d__i_t_e_m_s is replaced
  41.           with the corresponding element from _n_e_w__i_t_e_m_s.  That is, the
  42.           first element of _o_l_d__i_t_e_m_s is replaced with the first
  43.           element of _n_e_w__i_t_e_m_s. The second element of _o_l_d__i_t_e_m_s is
  44.           replaced with the second element of _n_e_w__i_t_e_m_s, and so on
  45.           until _i_t_e_m__c_o_u_n_tis reached.
  46.  
  47.           For a complete definition of List and its associated
  48.           resources, see XXXXmmmmLLLLiiiisssstttt(3).
  49.  
  50.      RRRREEEELLLLAAAATTTTEEEEDDDD
  51.           XXXXmmmmLLLLiiiisssstttt(3).
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.